import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index.js'


import vue3videoPlay from 'vue3-video-play'
import 'vue3-video-play/dist/style.css'


import { ElementPlus } from 'element-plus'

import 'element-plus/dist/index.css'  // 引入全局 CSS 样式


import VueSidebarMenu from 'vue-sidebar-menu'
import 'vue-sidebar-menu/dist/vue-sidebar-menu.css'

import {  edUrl1,edUrl2} from '@/utils/config.js';


const app = createApp(App)
//全局绑定到vue3实例对象上

import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
app.use(VueAwesomeSwiper);

app.config.globalProperties.$edUrl1 = edUrl1;
app.config.globalProperties.$edUrl2 = edUrl2;


app.use(VueSidebarMenu)

app.use(vue3videoPlay)


app.use(router)
app.use(ElementPlus)
//还可以全局绑定更多的工具
app.mount('#app')
